package com.mobile.service.inter;

import com.mobile.service.dto.UnemploymentDeclarationDTO;
import com.mobile.service.dto.UnemploymentDeclarationQueryDTO;
import com.mobile.util.PageResult;

import java.util.List;
import java.util.Map;

/**
 * 失业保险申请表Service接口
 */
public interface UnemploymentDeclarationService {

    /**
     * 新增失业保险申请
     */
    Map<String, Object> addUnemploymentDeclaration(UnemploymentDeclarationDTO dto) throws Exception;

    /**
     * 分页获取失业保险申请列表
     */
    PageResult<UnemploymentDeclarationDTO> getUnemploymentDeclarationListPage(UnemploymentDeclarationQueryDTO queryDTO) throws Exception;

    /**
     * 根据主键获取失业保险申请信息
     */
    UnemploymentDeclarationDTO getUnemploymentDeclarationById(String id) throws Exception;

    /**
     * 修改失业保险申请信息
     */
    Map<String, Object> updateUnemploymentDeclaration(UnemploymentDeclarationDTO dto) throws Exception;

    /**
     * 根据主键删除失业保险申请
     */
    Map<String, Object> removeUnemploymentDeclaration(String id) throws Exception;

    /**
     * 条件查询失业保险申请列表
     */
    List<UnemploymentDeclarationDTO> getUnemploymentDeclarationList(UnemploymentDeclarationQueryDTO queryDTO) throws Exception;
}
